package org.gis.mvc.bean;

import org.gis.mapserver.base.ContextType;

/**
 *
 * @author gus
 */
public class RequestBean
{
    private ContextType contextType;
    private double longitude;
    private double latitude;
    private double elevation; // tmp
    private double scale;
    private String [] layerNames;

    public String[] getLayerNames()
    {
        return layerNames;
    }

    public void setLayerNames( String[] layerNames )
    {
        this.layerNames = layerNames;
    }

    public double getElevation()
    {
        return elevation;
    }

    public void setElevation( double elevation )
    {
        this.elevation = elevation;
    }

    public ContextType getContextType()
    {
        return contextType;
    }

    public void setContextType( ContextType contextType )
    {
        this.contextType = contextType;
    }

    
    public double getLatitude()
    {
        return latitude;
    }

    public void setLatitude( double latitude )
    {
        this.latitude = latitude;
    }

    public double getLongitude()
    {
        return longitude;
    }

    public void setLongitude( double longitude )
    {
        this.longitude = longitude;
    }

    public double getScale()
    {
        return scale;
    }

    public void setScale( double scale )
    {
        this.scale = scale;
    }

    
    @Override
    public String toString()
    {
        return String.format("[ %s, %d, %d, %d]", contextType, longitude, latitude, elevation);
    }
}
